package com.javasm.mb_store_api_final.sys_control.rolecontrol.sys_role.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.javasm.mb_store_api_final.sys_control.rolecontrol.sys_role.entity.SysRole;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * (SysRole)表服务接口
 *
 * @author makejava
 * @since 2024-07-29 20:18:46
 */
public interface SysRoleService extends IService<SysRole> {


    List<SysRole> selectAllRole();

    void addRole(SysRole role);

    void updateRole(Integer roleId, SysRole role);

    void deleteByRId(Integer roleId);

    List<SysRole> queryBy(SysRole role);

    long countall();

    Map<String, Set<String>> paramList();
}
